package com.slt.developkitpersistent.model;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.core.annotation.AliasFor;

import java.util.List;

@Getter
@Setter
public class User {
	@ApiModelProperty(value = "用户编码")
	private String code;

	@JsonAlias(value = "nana")
	@JsonProperty("testName")
	@ApiModelProperty(value = "用户名")
	private String name;
	@ApiModelProperty(value = "头像url")
	private String url;
	@ApiModelProperty(value ="省编码",hidden = true)
	private String provinceCode;
	@ApiModelProperty(value = "市编码",hidden = true)
	private String cityCode;

	private List list;
}
